import React from 'react'
import { getSuggestion } from '../../api/search'
export default class Home extends React.Component {
    render() {
        return <div>video</div>
    }
    async   componentDidMount() {
        const q = 1
        const res = await getSuggestion(q)
        console.log(res);
    }
}